Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: docker: Add SELinux labels for rootless Podman compatibility #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

plaes
Copy link

@plaes plaes commented Oct 11, 2023

Volumes need to be properly labelled so it can run as rootless Podman containers.

The SELinux re-labeling bind mount option is ignored on platforms without SELinux, so it shouldn't break existing setups.

Volumes need to be properly re-labelled on rootless Podman
setups on Fedora.

The SELinux re-labeling bind mount option is ignored on platforms
without SELinux, so it shouldn't break existing setups.
@plaes
Copy link
Author

plaes commented Jan 30, 2024

@brocaar Any comments about this?
This makes things work out of the box on Fedora and shouldn't cause any issues to other distros/OS's as these labels are ignored when SELinux is not enabled.

https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant